﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAL;


public partial class iKonnect_EventsAdmin : System.Web.UI.Page
{
    List<Eventss> Events = new List<Eventss>(){
        new Eventss() { Name="Dalia" ,Date="22/9" ,Type="limited" ,Attendees="34"},
        new Eventss() { Name="Dina" ,Date="23/8" ,Type="public" ,Attendees="454"},
        new Eventss() { Name="Omar" ,Date="24/7" ,Type="public" ,Attendees="43"},
        new Eventss() { Name="Reem" ,Date="25/6" ,Type="limited" ,Attendees="323"},
        new Eventss() { Name="Fatma" ,Date="30/8" ,Type="public" ,Attendees="23"},
        new Eventss() { Name="Oubai" ,Date="12/2" ,Type="invite-only" ,Attendees="323"},
    };
    protected void Page_Load(object sender, EventArgs e)
    {
        rptrEvents.DataSource = Events;
        rptrEvents.DataBind();
        
    }
    public class Eventss {
        public Eventss(){}
        public String Name {get; set;}
        public String Date {get; set;}
        public String Type {get; set;}
        public String Attendees {get; set;}

    }
}